package cvut.cz.via.android.settings;

import java.io.Serializable;

public class Setting implements Serializable {
	
	private String name;
	private boolean state;
	
	public Setting(String name, boolean state) {
		super();
		this.name = name;
		this.state = state;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isState() {
		return state;
	}

	public void setState(boolean state) {
		this.state = state;
	}

	public void toggleState() {
		state = !state;		
	}
	
	

}
